home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 June: Reference Library / Dev.CD Jun 00 RL Disk 1.toast / pc / technical documentation / develop / develop issue 27 / develop issue 27 code / 3d game controls / source / main.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-29  |  638 b   |  34 lines

  1. //--------------------------------------------------------------------------------------------
  2. //  Main
  3. //
  4. //      by Philip McBride
  5. //
  6. //--------------------------------------------------------------------------------------------
  7.  
  8.  
  9. #include "GameControls.h"
  10. #include "main.h"
  11. #include "inits.h"
  12. #include "event.h"
  13.  
  14. //--------------------------------------------------------------------------------------------
  15. //  Main
  16. //
  17. void    main(void)
  18. {
  19.     
  20.     InitializeToolbox();
  21.     
  22.     SetCursor(*GetCursor(watchCursor)) ;
  23.     
  24.     InitializeGlobals();    
  25.                     
  26.     InitAEStuff();                            
  27.     
  28.     SetCursor(&qd.arrow) ;    
  29.                     
  30.     EventLoop();                            
  31.  
  32.     DeallocateGlobals();
  33. }
  34.